﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrameworkManapro.BusinessModel;

namespace GMAC.ReportingSystem.Business.Entities
{
    [DbProcedures(Insert = "procCallReasonInsert", Update = "procCallReasonUpdate", Delete = "procCallReasonDelete")]
    public class CallReason : BusinessEntity
    {
        /// <summary>
        /// Gets or sets the ID.
        /// </summary>
        /// <value>The ID.</value>
        [EntityPrimaryKey]
        [DbParameter(0, 1, 1)]
        public int ID { get; set; }

        /// <summary>
        /// Gets or sets the Description.
        /// </summary>
        /// <value>The Description.</value>
        [DbParameter(1, 2, 0)]
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the AccounTypeID.
        /// </summary>
        /// <value>The AccounTypeID.</value>
        [DbParameter(2, 3, 0)]
        public int AccounTypeID { get; set; }

        /// <summary>
        /// Gets or sets the Status.
        /// </summary>
        /// <value>The Status.</value>
        [DbParameter(3, 4, 0)]
        public bool Status { get; set; }
        
    }
    public class CallReasonCollection : List<CallReason>
    {
        public int TotalResults { get; set; }
    }
}

